package com.google.project.client.Service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.google.project.shared.UsersDTO;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("loginService")
public interface LoginService extends RemoteService {
	String login(String name, String password) throws IllegalArgumentException;
	boolean checkLogin();
	void logout();
	String getUserID();
	String getUserName();
	String getCurrentProjectID();
	UsersDTO getCurrentUserDTO();
}
